package com.pinda.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pinda.authorization.entity.Menu;

import java.util.List;

/**
 * <p>
 * 菜单 Mapper 接口
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-14
 */
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * TODO 根据用户id查询具有的菜单
     * @param userId
     * @return List<Menu>
     */
    List<Menu> findMenuByUserId(String userId);
}
